from tkinter import *
k = int(input())
t = int(input())

root = Tk()
root.title ("ИТ марафон")
root.geometry ("500х500")
canvas = Canvas (bg= "white", width=500, height=500)
canvas.pack (anchor=CENTER, expand=1)
x1 = int(k + 8)
y1 = int(t + 8)
x2 = int(k + 20)
y2 = int(t + 0)
x3 = int(k + 20)
y3 = int(t+20)
x4 = int(k+40)
y4 = int(t+20)
x5 = int(k+40)
y5 = int(t+40)
x6 = int(k+20)
y6 = int(t + 40)
x7 = int(k+20)
y7 = int(t+60)
x8 = int(k+0)
y8 = int(t + 60)
x9 = int(k+0)
y9 = int(t+0)
canvas.create_polygon(x1, y1, x2, y2, x3, y3, x4, y4, x5, y5, x6, y6, x7, y7, x8, y8, x9, y9, fill = 'blue')